<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="zh-cn" xml:lang="zh-cn">
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="DC.Type" content="topic">
  <meta name="DC.Title" content="管理TiDB集群">
  <meta name="product" content="">
  <meta name="DC.Relation" scheme="URI" content="TiDB_00057.html">
  <meta name="prodname" content="">
  <meta name="version" content="">
  <meta name="brand" content="30-OceanProtect 备份一体机 1.5.0-1.6.0 帮助中心">
  <meta name="DC.Publisher" content="20240320">
  <meta name="prodname" content="csbs">
  <meta name="documenttype" content="usermanual">
  <meta name="DC.Format" content="XHTML">
  <meta name="DC.Identifier" content="TiDB_00059">
  <meta name="DC.Language" content="zh-cn">
  <link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
  <title>管理TiDB集群</title>
 </head>
 <body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px">
  <a name="TiDB_00059"></a><a name="TiDB_00059"></a>
  <h1 class="topictitle1">管理TiDB集群</h1>
  <div>
   <p><span>本产品</span>支持对注册的TiDB集群执行修改保护、移除保护、激活保护或禁用保护等操作。</p>
   <div class="section">
    <h4 class="sectiontitle">相关操作</h4>
    <p>您需要登录管理界面，选择<span class="uicontrol">“<span id="TiDB_00059__zh-cn_topic_0000001839142377_text1938272620379">保护</span> &gt; 数据库 &gt; TiDB”</span>，选择<span class="uicontrol">“<span>集群</span>”</span>页签，查找到需要执行相关操作的集群。</p>
    <p>具体操作如<a href="#TiDB_00059__table24934294919">表1</a>所示。</p>
    <div class="tablenoborder">
     <a name="TiDB_00059__table24934294919"></a><a name="table24934294919"></a>
     <table cellpadding="4" cellspacing="0" summary="" id="TiDB_00059__table24934294919" frame="border" border="1" rules="all">
      <caption>
       <b>表1 </b>集群保护相关操作
      </caption>
      <colgroup>
       <col style="width:14.44%">
       <col style="width:57.78%">
       <col style="width:27.779999999999998%">
      </colgroup>
      <thead align="left">
       <tr>
        <th align="left" class="cellrowborder" valign="top" width="14.44%" id="mcps1.3.2.4.2.4.1.1"><p>任务</p></th>
        <th align="left" class="cellrowborder" valign="top" width="57.78%" id="mcps1.3.2.4.2.4.1.2"><p>任务描述</p></th>
        <th align="left" class="cellrowborder" valign="top" width="27.779999999999998%" id="mcps1.3.2.4.2.4.1.3"><p>界面入口</p></th>
       </tr>
      </thead>
      <tbody>
       <tr>
        <td class="cellrowborder" valign="top" width="14.44%" headers="mcps1.3.2.4.2.4.1.1 "><p>修改保护</p></td>
        <td class="cellrowborder" valign="top" width="57.78%" headers="mcps1.3.2.4.2.4.1.2 "><p><strong>操作背景</strong></p> <p>当您需要重新为集群关联新的SLA或其他SLA时，可以通过修改保护计划来实现。修改后下次备份将按照新的保护计划执行。</p> <p><strong>注意事项</strong></p> <p>修改保护时不会影响当前正在运行的保护任务，下个保护周期开始执行新的保护计划。</p></td>
        <td class="cellrowborder" valign="top" width="27.779999999999998%" headers="mcps1.3.2.4.2.4.1.3 "><p>在集群所在的行单击<span class="uicontrol">“<span>更多</span> &gt; <span>修改保护</span>”</span>。</p></td>
       </tr>
       <tr>
        <td class="cellrowborder" valign="top" width="14.44%" headers="mcps1.3.2.4.2.4.1.1 "><p>移除保护</p></td>
        <td class="cellrowborder" valign="top" width="57.78%" headers="mcps1.3.2.4.2.4.1.2 "><p><strong>操作背景</strong></p> <p>当不需要再对集群执行保护时，可以通过移除保护来实现。移除后系统将无法对该集群执行保护任务。如果需要再次对其进行保护需要重新关联SLA。</p> <p><strong>注意事项</strong></p> <p>当有该集群的保护任务正在运行时，无法执行移除保护操作。</p></td>
        <td class="cellrowborder" valign="top" width="27.779999999999998%" headers="mcps1.3.2.4.2.4.1.3 "><p>在集群所在的行单击<span class="uicontrol">“<span>更多</span> &gt; <span>移除保护</span>”</span>。</p></td>
       </tr>
       <tr>
        <td class="cellrowborder" valign="top" width="14.44%" headers="mcps1.3.2.4.2.4.1.1 "><p>激活保护</p></td>
        <td class="cellrowborder" valign="top" width="57.78%" headers="mcps1.3.2.4.2.4.1.2 "><p><strong>操作背景</strong></p> <p>集群的保护计划被禁用后，您可以通过激活操作使集群的保护计划重新生效。激活后系统将按照保护计划对数据库执行备份、复制或归档。</p></td>
        <td class="cellrowborder" valign="top" width="27.779999999999998%" headers="mcps1.3.2.4.2.4.1.3 "><p>在集群所在的行单击<span class="uicontrol">“<span>更多</span> &gt; <span>激活保护</span>”</span>。</p></td>
       </tr>
       <tr>
        <td class="cellrowborder" valign="top" width="14.44%" headers="mcps1.3.2.4.2.4.1.1 "><p>禁用保护</p></td>
        <td class="cellrowborder" valign="top" width="57.78%" headers="mcps1.3.2.4.2.4.1.2 "><p><strong>操作背景</strong></p> <p>当您暂时不需要再对集群执行周期性保护时，可以通过禁用其保护计划来实现。禁用后系统将不会执行该集群的自动备份、复制或归档。</p> <p><strong>注意事项</strong></p> <p>禁用保护时不会影响当前正在运行的保护任务。</p></td>
        <td class="cellrowborder" valign="top" width="27.779999999999998%" headers="mcps1.3.2.4.2.4.1.3 "><p>在集群所在的行单击<span class="uicontrol">“<span>更多</span> &gt; <span>禁用保护</span>”</span>。</p></td>
       </tr>
       <tr>
        <td class="cellrowborder" valign="top" width="14.44%" headers="mcps1.3.2.4.2.4.1.1 "><p>手动备份</p></td>
        <td class="cellrowborder" valign="top" width="57.78%" headers="mcps1.3.2.4.2.4.1.2 "><p><strong>操作背景</strong></p> <p>当您需要立即执行一次备份时，可以通过该操作实现。</p> <p><strong>注意事项</strong></p> <p>手动备份产生的副本保留时长按照SLA中的定义进行保留。</p></td>
        <td class="cellrowborder" valign="top" width="27.779999999999998%" headers="mcps1.3.2.4.2.4.1.3 "><p>在集群所在行单击<span class="uicontrol">“<span>更多</span> &gt; <span>手动备份</span>”</span>。</p></td>
       </tr>
       <tr>
        <td class="cellrowborder" valign="top" width="14.44%" headers="mcps1.3.2.4.2.4.1.1 "><p>连通测试</p></td>
        <td class="cellrowborder" valign="top" width="57.78%" headers="mcps1.3.2.4.2.4.1.2 "><p><strong>操作背景</strong></p> <p>您可以通过该操作测试<span>本产品</span>与集群之间的连通性。</p></td>
        <td class="cellrowborder" valign="top" width="27.779999999999998%" headers="mcps1.3.2.4.2.4.1.3 "><p>在集群所在行单击<span class="uicontrol">“<span>更多</span> &gt; <span>连通测试</span>”</span>。</p></td>
       </tr>
       <tr>
        <td class="cellrowborder" valign="top" width="14.44%" headers="mcps1.3.2.4.2.4.1.1 "><p>修改集群</p></td>
        <td class="cellrowborder" valign="top" width="57.78%" headers="mcps1.3.2.4.2.4.1.2 "><p><strong>操作背景</strong></p> <p>当集群的信息变更后，您可以通过该操作同步修改集群的注册信息。</p></td>
        <td class="cellrowborder" valign="top" width="27.779999999999998%" headers="mcps1.3.2.4.2.4.1.3 "><p>在集群所在行单击<span class="uicontrol">“<span>更多</span> &gt; <span>修改</span>”</span>。</p></td>
       </tr>
       <tr>
        <td class="cellrowborder" valign="top" width="14.44%" headers="mcps1.3.2.4.2.4.1.1 "><p>删除集群</p></td>
        <td class="cellrowborder" valign="top" width="57.78%" headers="mcps1.3.2.4.2.4.1.2 "><p><strong>操作背景</strong></p> <p>如果您不再需要对集群执行保护，可以通过该操作删除集群。</p> <p><strong>注意事项</strong></p> <p>已关联SLA的集群不支持删除。</p></td>
        <td class="cellrowborder" valign="top" width="27.779999999999998%" headers="mcps1.3.2.4.2.4.1.3 "><p>在集群所在行单击<span class="uicontrol">“<span>更多</span> &gt; <span>删除</span>”</span>。</p></td>
       </tr>
       <tr>
        <td class="cellrowborder" valign="top" width="14.44%" headers="mcps1.3.2.4.2.4.1.1 ">
         <div class="p">
          添加标签
          <div class="note" id="TiDB_00059__zh-cn_topic_0000001792344090_note161679211561">
           <span class="notetitle"> 说明： </span>
           <div class="notebody">
            <p id="TiDB_00059__zh-cn_topic_0000001792344090_p1816719214566">仅1.6.0及后续版本支持此功能。</p>
           </div>
          </div>
         </div></td>
        <td class="cellrowborder" valign="top" width="57.78%" headers="mcps1.3.2.4.2.4.1.2 "><p><strong id="TiDB_00059__zh-cn_topic_0000001792344090_b68890595556">操作背景</strong></p> <p>当您需要快速筛选和管理资源时，可以通过该操作实现。</p></td>
        <td class="cellrowborder" valign="top" width="27.779999999999998%" headers="mcps1.3.2.4.2.4.1.3 ">
         <div class="p">
          选择<span class="uicontrol" id="TiDB_00059__zh-cn_topic_0000001792344090_uicontrol84421111904">“<span id="TiDB_00059__zh-cn_topic_0000001792344090_text6442710012">更多</span> &gt; 添加标签”</span>。
          <div class="note" id="TiDB_00059__zh-cn_topic_0000001792344090_note164681316118">
           <span class="notetitle"> 说明： </span>
           <div class="notebody">
            <ul id="TiDB_00059__zh-cn_topic_0000001792344090_ul22969251338">
             <li id="TiDB_00059__zh-cn_topic_0000001792344090_li142961925139">您可以在弹出的“添加标签”界面选择已有的标签或单击“创建”新建标签。</li>
             <li id="TiDB_00059__zh-cn_topic_0000001792344090_li135161927738">如需对标签进行修改、删除等操作，可在“添加标签”界面，单击“前往标签管理”，进入“标签管理”界面操作。</li>
            </ul>
           </div>
          </div>
         </div></td>
       </tr>
       <tr>
        <td class="cellrowborder" valign="top" width="14.44%" headers="mcps1.3.2.4.2.4.1.1 ">
         <div class="p">
          移除标签
          <div class="note" id="TiDB_00059__zh-cn_topic_0000001792344090_note4957114117575">
           <span class="notetitle"> 说明： </span>
           <div class="notebody">
            <p id="TiDB_00059__zh-cn_topic_0000001792344090_zh-cn_topic_0000001792344090_p1816719214566">仅1.6.0及后续版本支持此功能。</p>
           </div>
          </div>
         </div></td>
        <td class="cellrowborder" valign="top" width="57.78%" headers="mcps1.3.2.4.2.4.1.2 "><p><strong id="TiDB_00059__zh-cn_topic_0000001792344090_b7939135985715">操作背景</strong></p> <p>当您不再需要对资源进行标记时，可以通过该操作实现。</p></td>
        <td class="cellrowborder" valign="top" width="27.779999999999998%" headers="mcps1.3.2.4.2.4.1.3 "><p>选择<span class="uicontrol" id="TiDB_00059__zh-cn_topic_0000001792344090_uicontrol4993205113111">“<span id="TiDB_00059__zh-cn_topic_0000001792344090_text6993751201118">更多</span> &gt; 移除标签”</span>。</p></td>
       </tr>
       <tr>
        <td class="cellrowborder" colspan="3" valign="top" headers="mcps1.3.2.4.2.4.1.1 mcps1.3.2.4.2.4.1.2 mcps1.3.2.4.2.4.1.3 "><p>注：恢复TiDB的操作同<a href="TiDB_00041.html">恢复</a>，本节不再重复说明。</p></td>
       </tr>
      </tbody>
     </table>
    </div>
   </div>
  </div>
  <div>
   <div class="familylinks">
    <div class="parentlink">
     <strong>父主题：</strong> <a href="TiDB_00057.html">TiDB集群环境</a>
    </div>
   </div>
  </div>
 </body>
</html>